Matthias Clasen [Sun, 26 Mar 2006 06:15:51 +0000 (06:15 +0000)]
Another leak
Matthias Clasen [Sun, 26 Mar 2006 06:13:17 +0000 (06:13 +0000)]
Fix leaks
Matthias Clasen [Sun, 26 Mar 2006 06:10:15 +0000 (06:10 +0000)]
Fix a leak
Matthias Clasen [Sun, 26 Mar 2006 06:05:57 +0000 (06:05 +0000)]
Another one
Matthias Clasen [Sun, 26 Mar 2006 06:03:31 +0000 (06:03 +0000)]
Small optimization
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterlpr.h was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.c was initially added on branch gtk-printing.
Alexander Larsson [Fri, 24 Mar 2006 17:08:50 +0000 (17:08 +0000)]
file gtkprinterpdf.h was initially added on branch gtk-printing.
Matthias Clasen [Fri, 24 Mar 2006 15:53:22 +0000 (15:53 +0000)]
Remove a pointless check, pointed out by Kjartan Maraas.
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.
Matthias Clasen [Fri, 24 Mar 2006 15:06:11 +0000 (15:06 +0000)]
Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
gdk_window_invalidate_rect() on unrealized widgets. (#335717,
Nicolas Setton)
Tim Janik [Fri, 24 Mar 2006 14:03:45 +0000 (14:03 +0000)]
back out G_GNUC_WARN_UNUSED_RESULT on iterator functions which turned out
Fri Mar 24 14:53:20 2006 Tim Janik <timj@imendio.com>
* gtk/gtktreemodel.h:
* gtk/gtktextbtree.h: back out G_GNUC_WARN_UNUSED_RESULT on iterator
functions which turned out to cause too much trouble.
Ahmad Riza H Nst [Fri, 24 Mar 2006 09:16:49 +0000 (09:16 +0000)]
Updated.
2006-03-24 Ahmad Riza H Nst <rizahnst@eriagempita.co.id>
* id.po: Updated.
Matthias Clasen [Fri, 24 Mar 2006 03:09:08 +0000 (03:09 +0000)]
small update
Matthias Clasen [Thu, 23 Mar 2006 23:35:24 +0000 (23:35 +0000)]
Document <classname> in paths.
2006-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.
Matthias Clasen [Thu, 23 Mar 2006 23:21:30 +0000 (23:21 +0000)]
Support subclasses in RC files. (#142417, Todd Berman, patch based on a
2006-03-23 Matthias Clasen <mclasen@redhat.com>
Support subclasses in RC files. (#142417, Todd Berman, patch
based on a patch by Benjamin Berg)
* gtk/gtkrc.h:
* gtk/gtkrc.c: Support <classname> elements in widget_class paths
in rc files which match any classes derived from named class.
(_gtk_rc_init): Use the new syntax in the default rc string.
* gtk/gtkbindings.c: Support the new syntax for bindings too.
* tests/testrc.c: Tests for widget_class path matching
Carlos Garnacho [Thu, 23 Mar 2006 14:39:56 +0000 (14:39 +0000)]
make sure that gdk_drag_event() is called when track_motion is TRUE to
2006-03-23 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkdnd.c (gtk_drag_dest_motion): make sure that gdk_drag_event()
is called when track_motion is TRUE to receive drag_motion and
drag_leave events properly.
Matthias Clasen [Wed, 22 Mar 2006 21:11:40 +0000 (21:11 +0000)]
Emit the ::page-removed signal after removing the page. (#335238,
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Emit the ::page-removed
signal after removing the page. (#335238, Christian Persch)
Carlos Garnacho [Wed, 22 Mar 2006 21:09:01 +0000 (21:09 +0000)]
Make it to expand when hovering during DnD
2006-03-22 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtkexpander.c: Make it to expand when hovering during DnD
Matthias Clasen [Wed, 22 Mar 2006 20:33:50 +0000 (20:33 +0000)]
Add some documentation about supported image formats, and how to find out
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c: Add some documentation about
supported image formats, and how to find out about them.
(#335536, Murray Cumming)
Matthias Clasen [Wed, 22 Mar 2006 20:20:06 +0000 (20:20 +0000)]
Additions.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Additions.
Matthias Clasen [Wed, 22 Mar 2006 20:17:23 +0000 (20:17 +0000)]
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)
2006-03-22 Matthias Clasen <mclasen@redhat.com>
Improved DND support for GtkNotebook (#332991, Carlos Garnacho)
* gtk/gtk.symbols:
* gtk/gtkdnd.h:
* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
with getter and setter, for cases where the drag destination
is interested in drag motion events independent of targets.
* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
for the timeout used when expanding during DND.
* gtk/gtknotebook.c: Use the track_motion flag to switch
notebook tabs when hovering over tabs during DND.
Matthias Clasen [Wed, 22 Mar 2006 20:06:16 +0000 (20:06 +0000)]
Remove some accidentally committed stuff
Matthias Clasen [Wed, 22 Mar 2006 18:46:08 +0000 (18:46 +0000)]
Use fg_gc to draw the inter-row drop highlight. Also draw the line all the
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
draw the inter-row drop highlight. Also draw the line all the
way across, and flip it in RTL mode. (#334906, Ian McDonald)
Johan Dahlin [Wed, 22 Mar 2006 18:38:47 +0000 (18:38 +0000)]
Add a column that demonstrates how to use the new spinbutton cellrenderer.
* tests/testtreeview.c: Add a column that demonstrates how to use
the new spinbutton cellrenderer.
Matthias Clasen [Wed, 22 Mar 2006 18:10:39 +0000 (18:10 +0000)]
Remove pointless includes of config.h, to make it easier compilable
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* tests/prop-editor.c:
* tests/testtreeview.c: Remove pointless includes of config.h,
to make it easier compilable against system GTK+.
Matthias Clasen [Wed, 22 Mar 2006 17:45:05 +0000 (17:45 +0000)]
Updates.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkcellrendererspin.sgml:
* gtk/tmpl/gtkcellrendererprogress.sgml:
* gtk/tmpl/gtkcellrenderercombo.sgml:
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
Michael Natterer [Wed, 22 Mar 2006 16:17:52 +0000 (16:17 +0000)]
renamed last-char-timeout to password-hint-timeout and store all its data
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c: renamed last-char-timeout to
password-hint-timeout and store all its data in a struct attached
as QData.
* gtk/gtkcellrendererspin.c: fix typo in #include.
Carlos Garnacho [Wed, 22 Mar 2006 16:11:48 +0000 (16:11 +0000)]
send a GtkWidget** instead of a GtkNotebookPage* when doing tabs DnD, this
2006-03-22 Carlos Garnacho <carlosg@gnome.org>
* gtk/gtknotebook.c: send a GtkWidget** instead of a GtkNotebookPage*
when doing tabs DnD, this allows DnD interaction with other widgets,
added some docs for this too.
* tests/testnotebookdnd.c: add some code to test it.
Matthias Clasen [Wed, 22 Mar 2006 15:28:16 +0000 (15:28 +0000)]
Add a cell renderer which uses a spinbutton to edit the value of a cell.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkcellrendererspin.h:
* gtk/gtkcellrendererspin.c: Add a cell renderer which
uses a spinbutton to edit the value of a cell. (#156023,
Daniel Kasak, Lorenzo Gil Sanchez, Carlos Garnacho)
* gtk/gtk.h:
* gtk/Makefile.am: Glue it in.
Michael Natterer [Wed, 22 Mar 2006 14:06:40 +0000 (14:06 +0000)]
applied modified patch from maemo-gtk which allows the most recently
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c: applied modified patch from maemo-gtk which
allows the most recently entered character in a hidden entry to be
shown for a configurable period of time. Fixes bug #334560.
Michael Natterer [Wed, 22 Mar 2006 10:39:51 +0000 (10:39 +0000)]
count down from G_MAXUINT to avoid clashes with application-added DND
2006-03-22 Michael Natterer <mitch@imendio.com>
* gtk/gtktextbuffer.h (enum GtkTextBufferTargetInfo): count down
from G_MAXUINT to avoid clashes with application-added DND
targets.
* gtk/gtktextview.c (gtk_text_view_init): set an empty
GtkTargetList on the drag_dest so it is not NULL when a derived
class' init() function is called.
(gtk_text_view_target_list_notify): copy the text buffer's paste
targets into the view's destinstion target list (preserving
application-added DND targets), instead of replacing the view's
target list. Fixes bug #334399.
Anders Carlsson [Tue, 21 Mar 2006 16:50:47 +0000 (16:50 +0000)]
Add new files.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gtk/Makefile.am:
Add new files.
* gtk/gtkclipboard-quartz.c: Added.
* gtk/gtkdnd-quartz.c: Added.
* gtk/gtkquartz.c: Added.
* gtk/gtkquartz.h: Added.
Add dnd and clipboard implementations.
Michael Natterer [Tue, 21 Mar 2006 11:52:28 +0000 (11:52 +0000)]
removing trailing \ fixes the build.
2006-03-21 Michael Natterer <mitch@imendio.com>
* gdk/quartz/Makefile.am: removing trailing \ fixes the build.
Anders Carlsson [Tue, 21 Mar 2006 09:36:46 +0000 (09:36 +0000)]
Implement gdk_window_scroll.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkgeometry-quartz.c:
(gdk_window_scroll):
Implement gdk_window_scroll.
Anders Carlsson [Tue, 21 Mar 2006 08:02:17 +0000 (08:02 +0000)]
Add the GDK part of the DND implementation.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/GdkQuartzWindow.c:
(drag_operation_to_drag_action):
(drag_action_to_drag_operation):
(update_context_from_dragging_info):
(-[GdkQuartzWindow draggingEntered:]):
(-[GdkQuartzWindow draggingEnded:]):
(-[GdkQuartzWindow draggingExited:]):
(-[GdkQuartzWindow draggingUpdated:]):
(-[GdkQuartzWindow performDragOperation:]):
(-[GdkQuartzWindow wantsPeriodicDraggingUpdates]):
(-[GdkQuartzWindow draggedImage:endedAt:operation:]):
* gdk/quartz/gdkdnd-quartz.c:
(gdk_drag_context_finalize):
(gdk_drag_context_init):
(gdk_drag_context_class_init):
(gdk_drag_begin):
(gdk_drag_status):
Add the GDK part of the DND implementation.
* gdk/quartz/Makefile.am:
Add some missing headers.
* gdk/quartz/gdkdrawable-quartz.h:
* gdk/quartz/gdkprivate-quartz.h:
* gdk/quartz/gdkquartz.h:
* gdk/quartz/gdkwindow-quartz.c:
(gdk_quartz_window_get_nsview):
New function, for use by the GTK part of the DND implementation
Anders Carlsson [Tue, 21 Mar 2006 07:49:05 +0000 (07:49 +0000)]
Offset coordinates by 0.5 pixels to get consistant results for both image
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/gdkdrawable-quartz.c:
(gdk_quartz_ref_cairo_surface):
(gdk_quartz_draw_rectangle):
(gdk_quartz_draw_arc):
(gdk_quartz_draw_polygon):
(gdk_quartz_draw_drawable):
(gdk_quartz_draw_segments):
(gdk_quartz_draw_lines):
(gdk_quartz_draw_pixbuf):
(gdk_quartz_draw_image):
(_gdk_quartz_drawable_get_context):
* gdk/quartz/gdkdrawable-quartz.h:
Offset coordinates by 0.5 pixels to get consistant results for both
image contexts and screen contexts.
Anders Carlsson [Tue, 21 Mar 2006 07:36:54 +0000 (07:36 +0000)]
]): Synthesize GDK_CONFIGURE events when the window position changes.
2006-03-21 Anders Carlsson <andersca@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
([GdkQuartzWindow -windowDidMove:]): Synthesize GDK_CONFIGURE events
when the window position changes.
Matthias Clasen [Tue, 21 Mar 2006 03:59:44 +0000 (03:59 +0000)]
Remove an unused variable.
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_get_cursor): Remove an unused variable.
Matthias Clasen [Tue, 21 Mar 2006 00:21:03 +0000 (00:21 +0000)]
Improve ChangeLog
Matthias Clasen [Tue, 21 Mar 2006 00:12:48 +0000 (00:12 +0000)]
Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
page->tab_label dangling.
(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
(gtk_notebook_destroy): Leave the removal of the children
to the container destroy method. (#319032, Yevgen Muntyan)
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
GTK_IN_DESTRUCTION flag, rather than roll our own.
Matthias Clasen [Mon, 20 Mar 2006 20:09:51 +0000 (20:09 +0000)]
Always save errno to a temporary before making other calls. (#335179,
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c:
* gdk-pixbuf-io.c:
* io-xpm.c:
* io-xbm.c:
* io-gif.c: Always save errno to a temporary before making
other calls. (#335179, Morten Welinder)
Matthias Clasen [Mon, 20 Mar 2006 19:17:59 +0000 (19:17 +0000)]
Add a window-placement-set property and a gtk-scrolled-window-placement
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols:
* gtk/gtkscrolledwindow.h:
* gtk/gtkscrolledwindow.c: Add a window-placement-set property
and a gtk-scrolled-window-placement setting. (#157025, Christian
Neumair)
Matthias Clasen [Mon, 20 Mar 2006 05:38:37 +0000 (05:38 +0000)]
Make sure gettext is initialized before using it. (#335129, Christian
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
is initialized before using it. (#335129, Christian Persch)
Matthias Clasen [Mon, 20 Mar 2006 03:52:27 +0000 (03:52 +0000)]
Add MAINTAINERS
Matthias Clasen [Mon, 20 Mar 2006 03:39:05 +0000 (03:39 +0000)]
Updates
Matthias Clasen [Mon, 20 Mar 2006 03:34:02 +0000 (03:34 +0000)]
fix a typo
Matthias Clasen [Mon, 20 Mar 2006 03:16:43 +0000 (03:16 +0000)]
Document that @cell must be one of the renderers of the icon view, warn if
2006-03-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
@cell must be one of the renderers of the icon view, warn if
it is not, and ignore @start_editing if @cell is not set.
(#335001, Emmanuel Rodriguez)
Matthias Clasen [Thu, 16 Mar 2006 16:37:26 +0000 (16:37 +0000)]
Add a missing comma. (#334774, Peter Breitenlohner)
2006-03-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Add a missing comma. (#334774, Peter Breitenlohner)
Matthias Clasen [Thu, 16 Mar 2006 15:53:36 +0000 (15:53 +0000)]
Fix up compiler warnings
Matthias Clasen [Thu, 16 Mar 2006 15:38:55 +0000 (15:38 +0000)]
Check for a stock icon, not a stock item, when deciding whether to use
2006-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full)
(gtk_action_group_add_toggle_actions_full)
(gtk_action_group_add_radio_actions_full): Check for a stock
icon, not a stock item, when deciding whether to use stock-id
or icon-name. (#334760, Jody Goldberg)
Matthias Clasen [Thu, 16 Mar 2006 13:59:24 +0000 (13:59 +0000)]
Update the size of the image, by swapping the implementations of
2006-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimage.c (gtk_image_clear): Update the size of the image,
by swapping the implementations of gtk_image_clear and
gtk_image_reset. (#334657)
Matthias Clasen [Thu, 16 Mar 2006 13:31:11 +0000 (13:31 +0000)]
release notes
Dom Lachowicz [Wed, 15 Mar 2006 19:19:33 +0000 (19:19 +0000)]
Make expander-size a bit closer to Microsoft's values (bug 325699, Brad
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Make expander-size
a bit closer to Microsoft's values (bug 325699, Brad Taylor)
Matthias Clasen [Wed, 15 Mar 2006 19:03:46 +0000 (19:03 +0000)]
Move it to the right place
Matthias Clasen [Wed, 15 Mar 2006 19:00:59 +0000 (19:00 +0000)]
Popdown the list before changing the active iter, otherwise people will be
2006-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_list_button_released)
(gtk_combo_box_list_key_press): Popdown the list before changing
the active iter, otherwise people will be surprised by the
grabs that are still in place when their ::changed handler
runs.
Dom Lachowicz [Wed, 15 Mar 2006 17:37:19 +0000 (17:37 +0000)]
Override style->realize/ style->unrealize, so that GTK+ doesn't
* modules/engines/ms-windows/msw_style.c: Override style->realize/
style->unrealize, so that GTK+ doesn't automatically attempt to apply
shading to the GC colors, causing a mismatch with the Win32 native
colors. Problem found by (and suggested solution by) "Cosmic Integer"
Behdad Esfahbod [Wed, 15 Mar 2006 07:59:09 +0000 (07:59 +0000)]
Added checksettings.
Behdad Esfahbod [Wed, 15 Mar 2006 07:58:39 +0000 (07:58 +0000)]
Added testnotebookdnd.
Matthias Clasen [Wed, 15 Mar 2006 06:46:00 +0000 (06:46 +0000)]
Add docs for new ports.
Matthias Clasen [Tue, 14 Mar 2006 21:32:16 +0000 (21:32 +0000)]
Add a shortcut to stop the gif mainloop after the first frame, if that is
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* io-gif.c (gdk_pixbuf__gif_image_load): Add a shortcut
to stop the gif mainloop after the first frame, if that
is all we are interested in. (#334538)
Matthias Clasen [Tue, 14 Mar 2006 19:44:59 +0000 (19:44 +0000)]
Add test cases for alignment.
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* tests/testcellrenderertext.c: Add test cases for alignment.
* gtk/gtkcellrenderertext.c: Add an alignment property,
and fix some cases where ellipsize_set was being used to
mean "we're ellipsizing" even when ellipsize was set to NONE.
(#318761, Ross Burton)
Matthias Clasen [Tue, 14 Mar 2006 16:42:59 +0000 (16:42 +0000)]
Make return and release work again to commit a hex sequence. Additionally,
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontextsimple.c: Make return and release work again
to commit a hex sequence. Additionally, make escape reset the
im context when in a hex sequence. (#334423, Behdad Esfahbod)
Mugurel Tudor [Mon, 13 Mar 2006 08:20:44 +0000 (08:20 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
2006-03-13 Mugurel Tudor <mugurelu@gnome.ro>
* ro.po: Updated Romanian translation
by Mişu Moldovan <dumol@gnome.ro>
Matthias Clasen [Mon, 13 Mar 2006 05:11:23 +0000 (05:11 +0000)]
Make actions work with named icons. (#323484, Jorn Baayen)
2006-03-13 Matthias Clasen <mclasen@redhat.com>
Make actions work with named icons. (#323484, Jorn Baayen)
* gtk/gtkactiongroup.c: If the stock-id field of a GtkActionEntry
does not contain a registered stock id, interpret it as an
icon name.
* gtk/gtkaction.c: Add an icon-name property to actions and
use it for icons if a stock-id is not specified.
Matthias Clasen [Mon, 13 Mar 2006 03:32:11 +0000 (03:32 +0000)]
Don't for the creation of geometry info here. (#114533)
2006-03-12 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_compute_configure_request): Don't
for the creation of geometry info here. (#114533)
Raphael Higino [Sun, 12 Mar 2006 18:00:41 +0000 (18:00 +0000)]
Updated Brazilian Portuguese translation
Tor Lillqvist [Sat, 11 Mar 2006 20:34:37 +0000 (20:34 +0000)]
Use Polygon() for outlined polygons, too. Same idea as in
2006-03-11 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkdrawable-win32.c (draw_polygon): Use Polygon() for
outlined polygons, too. Same idea as in draw_rectangle(): Set pen
to NULL_PEN if drawing a filled polygon, set brush to HOLLOW_BRUSH
if drawing a polygon outline. (#332662)
(gdk_win32_draw_polygon): Corresponding simplification: no need to
add an extra final copy of the starting point.
Dom Lachowicz [Sat, 11 Mar 2006 18:04:36 +0000 (18:04 +0000)]
Speed up the Windows theme considerably (#163724, John Ehresman) Be more
2006-03-11 Dom Lachowicz <cinamod@hotmail.com>
* modules/engines/ms-windows: Speed up the Windows theme
considerably (#163724, John Ehresman)
Be more careful about setting Pango font descriptions (#333372)
Alexander Shopov [Sat, 11 Mar 2006 13:08:36 +0000 (13:08 +0000)]
Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2006-03-10 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
Matthias Clasen [Sat, 11 Mar 2006 05:47:09 +0000 (05:47 +0000)]
Allow to cancel a drag with ESC. (#58389, Søren Sandmann)
2006-03-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (gtk_range_key_press): Allow to cancel
a drag with ESC. (#58389, Søren Sandmann)
Matthias Clasen [Sat, 11 Mar 2006 04:09:38 +0000 (04:09 +0000)]
Add a style property ::activate_slider that allows themes to draw the
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c: Add a style property ::activate_slider that
allows themes to draw the slider active while dragged. (#311992,
Benjamin Berg)
* gtk/gtkcolorsel.c (gtk_color_selection_init): Fix two labels.
Matthias Clasen [Sat, 11 Mar 2006 02:24:52 +0000 (02:24 +0000)]
Add a little script
Matthias Clasen [Sat, 11 Mar 2006 02:13:11 +0000 (02:13 +0000)]
Clean up exported symbols
Matthias Clasen [Fri, 10 Mar 2006 22:56:15 +0000 (22:56 +0000)]
Avoid a mnemonic conflict. (#163850, Dennis Cranston)
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcolorsel.c (gtk_color_selection_init): Avoid a mnemonic
conflict. (#163850, Dennis Cranston)
Matthias Clasen [Fri, 10 Mar 2006 22:05:36 +0000 (22:05 +0000)]
Make the behaviour of the about dialog consistent with other dialogs in
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaboutdialog.c (gtk_show_about_dialog): Make the behaviour
of the about dialog consistent with other dialogs in gtk. If the
dialog is constructed with gtk_about_dialog_new(), the creator
is reponsible for handling the response by hiding or closing the
dialog. gtk_show_about_dialog() handles it by hiding the dialog.
(#333360, Daniel Drake)
* README.in: Mention this change.
Matthias Clasen [Fri, 10 Mar 2006 21:37:43 +0000 (21:37 +0000)]
Apply a patch from Dennis Cranston to make dialogs more consistent
2006-03-10 Matthias Clasen <mclasen@redhat.com>
Apply a patch from Dennis Cranston to make dialogs more
consistent (#163850)
* gtk/gtkcolorsel.c (make_label_spinbutton): Left-align labels.
* gtk/gtkfontsel.c (gtk_font_selection_init):
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
* gtk/gtkcolorsel.c (gtk_color_selection_init):
* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
* gtk/gtkinputdialog.c (gtk_input_dialog_init): Update the layout
of the dialog to follow HIG recommendations. Also update labels.
* gtk/gtkmessagedialog.c (gtk_message_dialog_init): HIG-compatible
spacing.
(gtk_message_dialog_font_size_change): Merged into
gtk_message_dialog_style_set.
Matthias Clasen [Fri, 10 Mar 2006 19:15:40 +0000 (19:15 +0000)]
Remove suspicious code. (#325295, Alexander Nedotsukov)
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* pixbuf-draw.c (draw_extension): Remove suspicious
code. (#325295, Alexander Nedotsukov)
Matthias Clasen [Fri, 10 Mar 2006 19:13:37 +0000 (19:13 +0000)]
Remove g_return_if_fail() checks from static functions.
2006-03-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkstyle.c: Remove g_return_if_fail() checks
from static functions.
Federico Mena Quintero [Fri, 10 Mar 2006 17:16:50 +0000 (17:16 +0000)]
Make Shift-P and Shift-N activate typeahead in GtkTreeView (i.e. they are
2006-03-10 Federico Mena Quintero <federico@novell.com>
Make Shift-P and Shift-N activate typeahead in GtkTreeView
(i.e. they are just normal capital letters). Fixes bug #334098.
* gtk/gtktreeview.c (gtk_tree_view_add_move_binding): Add an
"add_shifted_binding" argument which determines whether we'll add
the same binding with GDK_SHIFT_MASK.
(gtk_tree_view_class_init): Use add_shifted_binding=FALSE for GDK_p
and GDK_n; use TRUE for all the rest.
Michael Natterer [Fri, 10 Mar 2006 11:06:00 +0000 (11:06 +0000)]
add gtk_entry_get,set_inner_border()
2006-03-10 Michael Natterer <mitch@imendio.com>
* gtk/gtk-sections.txt: add gtk_entry_get,set_inner_border()
Michael Natterer [Fri, 10 Mar 2006 10:44:18 +0000 (10:44 +0000)]
Corrected my email address.
Michael Natterer [Fri, 10 Mar 2006 10:30:36 +0000 (10:30 +0000)]
applied refactored patch from maemo-gtk that replaces the INNER_BORDER
2006-03-10 Michael Natterer <mitch@gimp.org>
* gtk/gtkentry.[ch]: applied refactored patch from maemo-gtk that
replaces the INNER_BORDER define by an "inner-border" style
property of type GtkBorder. Additionally, add an "inner-border"
object property plus API which allows to override any theme
border, to allow pixel-perfect positioning of entries for inline
editing. Fixes bug #333922.
* gtk/gtk.symbols: add the new public functions.
Matthias Clasen [Thu, 9 Mar 2006 20:20:30 +0000 (20:20 +0000)]
Replace the popup-show and popup-hide signals with a readonle popup-shown
2006-03-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c (gtk_combo_box_class_init): Replace the
popup-show and popup-hide signals with a readonle popup-shown
property. (#162531, Christian Persch)
Ross Burton [Thu, 9 Mar 2006 18:48:38 +0000 (18:48 +0000)]
Turn off prelighting when gtk-touchscreen-mode is enabled (#135666)
2006-03-09 Ross Burton <ross@openedhand.com>
* gtk/gtkwidget.c:
* gtk/gtkrange.c:
* gtk/gtktogglebutton.c:
Turn off prelighting when gtk-touchscreen-mode is enabled (#135666)
Tim Janik [Thu, 9 Mar 2006 13:33:46 +0000 (13:33 +0000)]
move the floating flag from the GInitiallyUnowned bit to GTK_FLOATING.
Thu Mar 9 14:29:43 2006 Tim Janik <timj@gtk.org>
* gtk/gtkobject.c (gtk_object_init): move the floating flag from
the GInitiallyUnowned bit to GTK_FLOATING. fixes tests/floatingcheck.
kudos to mitch for debugging this.
Matthias Clasen [Thu, 9 Mar 2006 05:30:30 +0000 (05:30 +0000)]
dist all changelogs
Tor Lillqvist [Thu, 9 Mar 2006 01:44:19 +0000 (01:44 +0000)]
No gtk_tray_icon_get_type on Win32.
2006-03-09 Tor Lillqvist <tml@novell.com>
* gtk/gtk.symbols: No gtk_tray_icon_get_type on Win32.
Francisco Javier F. Serrador [Wed, 8 Mar 2006 22:32:59 +0000 (22:32 +0000)]
Updated Spanish translation.
2006-03-08 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Pablo Saratxaga [Wed, 8 Mar 2006 20:56:58 +0000 (20:56 +0000)]
updated Breton po file
Pablo Saratxaga [Wed, 8 Mar 2006 20:51:17 +0000 (20:51 +0000)]
updated Breton translation
Carlos Garnacho [Wed, 8 Mar 2006 17:22:14 +0000 (17:22 +0000)]
Rename ::tab-added and ::tab-removed signals to ::page-added and
2006-03-08 Carlos Garnacho <carlosg@gnome.org>
Rename ::tab-added and ::tab-removed signals to ::page-added and
::page-removed for not conflicting with other tab reordering
implementations. Fixes bug #333743.
Also rename ::tab-reordered to ::page-reordered, and emit it in
gtk_notebook_reorder_child () to make it behave consistently with the
other two signals.
* gtk/gtknotebook.c (gtk_notebook_class_init): rename signals.
(gtk_notebook_reorder_tab)
(gtk_notebook_button_release)
(gtk_notebook_remove)
(gtk_notebook_real_insert_page): emit respectively renamed signals
(gtk_notebook_reorder_child): also emit ::page-reordered here
* tests/testnotebookdnd.c: use renamed signals
Michael Natterer [Wed, 8 Mar 2006 17:09:53 +0000 (17:09 +0000)]
added gdk_screen_get_active_window() and gdk_screen_get_window_stack()
2006-03-08 Michael Natterer <mitch@imendio.com>
* gdk/gdk-sections.txt: added gdk_screen_get_active_window()
and gdk_screen_get_window_stack()
Michael Natterer [Wed, 8 Mar 2006 17:02:34 +0000 (17:02 +0000)]
gdk/gdkscreen.h gdk/x11/gdkscreen-x11.c added
2006-03-08 Michael Natterer <mitch@imendio.com>
* gdk/gdkscreen.h
* gdk/x11/gdkscreen-x11.c
* gdk/gdk.symbols: added gdk_screen_get_active_window() and
gdk_screen_get_window_stack() (patch from maemo-gtk).
Fixes bug #320881.
* gdk/directfb/gdkscreen-directfb.c
* gdk/quartz/gdkscreen-quartz.c
* gdk/win32/gdkscreen-win32.c: added the functions as stubs.
Michael Natterer [Wed, 8 Mar 2006 15:37:07 +0000 (15:37 +0000)]
zero-initialize the GValue before calling g_value_init().
2006-03-08 Michael Natterer <mitch@imendio.com>
* tests/prop-editor.c (unichar_changed): zero-initialize the
GValue before calling g_value_init().
Michael Natterer [Wed, 8 Mar 2006 14:04:53 +0000 (14:04 +0000)]
make sure that the text_area_width is always >= 0. Fixes bug #316712 (Dan
2006-03-08 Michael Natterer <mitch@imendio.com>
* gtk/gtkentry.c (gtk_entry_adjust_scroll): make sure that the
text_area_width is always >= 0. Fixes bug #316712 (Dan Winship).
Francisco Javier F. Serrador [Tue, 7 Mar 2006 22:44:32 +0000 (22:44 +0000)]
Updated Spanish translation.
2006-03-07 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
* es.po: Updated Spanish translation.
Federico Mena Quintero [Tue, 7 Mar 2006 17:48:07 +0000 (17:48 +0000)]
Cancel drags when the grabs get broken. Fixes bug #333056:
2006-03-07 Federico Mena Quintero <federico@novell.com>
Cancel drags when the grabs get broken. Fixes bug #333056:
* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
a guint, not guint32.
(gtk_drag_source_event_cb): Return gboolean, not gint.
(gtk_drag_anim_timeout): Likewise.
(gtk_drag_motion_cb): Likewise.
(gtk_drag_key_cb): Likewise.
(gtk_drag_button_release_cb): Likewise.
(gtk_drag_abort_timeout): Likewise.
(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
ipc_widget.
(gtk_drag_source_info_destroy): Disconnect from the
"grab-broken-event" callback.
(gtk_drag_end): Likewise.
(gtk_drag_grab_broken_event_cb): New callback. We cancel the drag
if the grab was broken and not regrabbed by the DnD code.
2006-03-07 Federico Mena Quintero <federico@novell.com>
* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
Hack to let the treeview's button-press-event handler run before
ours. This lets the selection be updated before we pop up a
context menu.
Tim Janik [Tue, 7 Mar 2006 16:18:25 +0000 (16:18 +0000)]
depend on glib-2.10.1.
Tue Mar 7 17:16:34 2006 Tim Janik <timj@gtk.org>
* configure.in: depend on glib-2.10.1.
* gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags.
this requires glib-2.10.1.
Michael Natterer [Tue, 7 Mar 2006 13:46:11 +0000 (13:46 +0000)]
Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer.
2006-03-07 Michael Natterer <mitch@imendio.com>
Add infrastructure for copy/paste and DND of rich text for
GtkTextBuffer. Fixes bug #324177.
* gtk/gtktextbufferrichtext.[ch]: new files implementing a
per-buffer registry of rich text formats.
* gtk/gtk.h: #include gtktextbufferrichtext.h
* gtk/gtktextbufferserialize.[ch]: new files implementing an
internal serialization format that can handle all of a text
buffer's tags and pixbufs. It's not useful for anything except
tranfer between instances of GtkTextBuffer (Anders Carlsson).
* gtk/Makefile.am: build the new files.
* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
just as they exist for plain text and pixbufs.
* gtk/gtkselection.[ch]: added rich text convenience APIs here
too. Return the target list from gtk_target_list_ref(). Register
GtkTargetList as boxed type. Added
gtk_target_table_new_from_list() and gtk_target_table_free(),
which make converting between GtkTargetList and arrays of
GtkTargetEntry considerably easier.
* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
which creates a fancy rich text icon (Matthias Clasen).
* gtk/gtktextbuffer.[ch]: use all the new stuff above and
implement copy and paste of rich text. Added APIs for getting the
target lists used for copy and paste. Added public enum
GtkTextBufferTargetInfo which contains the "info" IDs associated
with the entries of the target lists.
* gtk/gtktextview.c: use the new rich text APIs and
GtkTextBuffer's new target list API to enable DND of rich text
chunks.
* gtk/gtk.symbols: export all the new symbols added.
* tests/testtext.c: added rich text testing stuff.